package com.deyuanyun.pic.pipe.domain.exceldomain;

import com.caixu.beanvalidateutil.annotations.DataValidate;
import com.deyuanyun.pic.pipe.support.validatefun.PipeLineValidata;
import com.deyuanyun.pic.pipe.support.validatefun.PipeSegmentValidata;
import com.deyuanyun.pic.pipe.support.validatefun.ValveRoomValidata;

import java.util.Date;

/**
 * Created by xu on 2016/1/28.
 * 收发球桶
 */
public class PiggingStructureVO {
    private String code;
    @DataValidate(notNull = true,myFunction = PipeLineValidata.class,myFunctionMessage = "管道不存在")
    private String pipeLineId;//管道名称
    @DataValidate(notNull = true,myFunction = PipeSegmentValidata.class,myFunctionMessage = "管段不存在")
    private String pipeSegmentId;//管段
    //@DataValidate(notNull = true)
    private String piggingstructureNumber;//收发球桶编号
    @DataValidate(notNull = true)
    private String adminRegionName;//行政地域名称
    @DataValidate(/*notNull = true,*/myFunction = ValveRoomValidata.class,myFunctionMessage = "场站阀室不存在")
    private String pipeValveroomId;//所属场站阀室
    @DataValidate(notNull = true,numberRang = "{-180,180}" ,type = Number.class,typeMessage = "坐标字段必须为数字类型")
    private String laocationX;
    @DataValidate(notNull = true,numberRang = "{-90,90}" ,type = Number.class,typeMessage = "坐标字段必须为数字类型")
    private String laocationY;
    @DataValidate(notNull = true ,type = Number.class,typeMessage = "坐标字段必须为数字类型")
    private String laocationZ;
    @DataValidate(/*notNull = true ,*/type = Number.class,typeMessage = "必须为数字类型",numberRang = "{0,50}")
    private String pressureRating;//压力等级
    @DataValidate(type = Number.class,typeMessage = "必须为数字类型")
    private String sbarrelLength;//小球筒长度
    @DataValidate(type = Number.class,typeMessage = "必须为数字类型",numberRang = "{0,2000}")
    private String sbarrelDiameter;//小球筒直径
    @DataValidate(type = Number.class,typeMessage = "必须为数字类型",numberRang = "{0,50}")
    private String sbarrelWallThickness;//小球筒壁厚
    @DataValidate(type = Number.class,typeMessage = "必须为数字类型")
    private String bbarrelLength;//大球筒长度
    @DataValidate(type = Number.class,typeMessage = "必须为数字类型",numberRang = "{0,2000}")
    private String bbarrelDiameter;//大球筒直径
    @DataValidate(type = Number.class,typeMessage = "必须为数字类型",numberRang = "{0,50}")
    private String bbarrelWallThickness;//大球筒壁厚
    @DataValidate(lengthLimit = "{80}")
    private String manufacturer;//生产厂商
    @DataValidate(type = Date.class,datePattern = {"yyyyMMdd","yyyy-MM-dd","yyyy/MM/dd"},typeMessage = "日期格式有误")
    private String manufacturedDate;//生产日期
    @DataValidate(lengthLimit = "{80}")
    private String recorder;//记录人
    @DataValidate(type = Date.class,datePattern = {"yyyyMMdd","yyyy-MM-dd","yyyy/MM/dd"},typeMessage = "日期格式有误")
    private String recordtime;//记录时间
    @DataValidate(lengthLimit = "{999}")
    private String createRemark;//备注
    private String priUuid;


    public String getPriUuid() {
        return priUuid;
    }

    public void setPriUuid(String priUuid) {
        this.priUuid = priUuid;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPipeLineId() {
        return pipeLineId;
    }

    public void setPipeLineId(String pipeLineId) {
        this.pipeLineId = pipeLineId;
    }

    public String getPipeSegmentId() {
        return pipeSegmentId;
    }

    public void setPipeSegmentId(String pipeSegmentId) {
        this.pipeSegmentId = pipeSegmentId;
    }

    public String getPiggingstructureNumber() {
        return piggingstructureNumber;
    }

    public void setPiggingstructureNumber(String piggingstructureNumber) {
        this.piggingstructureNumber = piggingstructureNumber;
    }

    public String getPipeValveroomId() {
        return pipeValveroomId;
    }

    public void setPipeValveroomId(String pipeValveroomId) {
        this.pipeValveroomId = pipeValveroomId;
    }

    public String getLaocationX() {
        return laocationX;
    }

    public void setLaocationX(String laocationX) {
        this.laocationX = laocationX;
    }

    public String getLaocationY() {
        return laocationY;
    }

    public void setLaocationY(String laocationY) {
        this.laocationY = laocationY;
    }

    public String getLaocationZ() {
        return laocationZ;
    }

    public void setLaocationZ(String laocationZ) {
        this.laocationZ = laocationZ;
    }

    public String getPressureRating() {
        return pressureRating;
    }

    public void setPressureRating(String pressureRating) {
        this.pressureRating = pressureRating;
    }

    public String getSbarrelLength() {
        return sbarrelLength;
    }

    public void setSbarrelLength(String sbarrelLength) {
        this.sbarrelLength = sbarrelLength;
    }

    public String getSbarrelDiameter() {
        return sbarrelDiameter;
    }

    public void setSbarrelDiameter(String sbarrelDiameter) {
        this.sbarrelDiameter = sbarrelDiameter;
    }

    public String getSbarrelWallThickness() {
        return sbarrelWallThickness;
    }

    public void setSbarrelWallThickness(String sbarrelWallThickness) {
        this.sbarrelWallThickness = sbarrelWallThickness;
    }

    public String getBbarrelLength() {
        return bbarrelLength;
    }

    public void setBbarrelLength(String bbarrelLength) {
        this.bbarrelLength = bbarrelLength;
    }

    public String getBbarrelDiameter() {
        return bbarrelDiameter;
    }

    public void setBbarrelDiameter(String bbarrelDiameter) {
        this.bbarrelDiameter = bbarrelDiameter;
    }

    public String getBbarrelWallThickness() {
        return bbarrelWallThickness;
    }

    public void setBbarrelWallThickness(String bbarrelWallThickness) {
        this.bbarrelWallThickness = bbarrelWallThickness;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getManufacturedDate() {
        return manufacturedDate;
    }

    public void setManufacturedDate(String manufacturedDate) {
        this.manufacturedDate = manufacturedDate;
    }

    public String getRecorder() {
        return recorder;
    }

    public void setRecorder(String recorder) {
        this.recorder = recorder;
    }

    public String getRecordtime() {
        return recordtime;
    }

    public void setRecordtime(String recordtime) {
        this.recordtime = recordtime;
    }

    public String getCreateRemark() {
        return createRemark;
    }

    public void setCreateRemark(String createRemark) {
        this.createRemark = createRemark;
    }

    public String getAdminRegionName() {
        return adminRegionName;
    }

    public void setAdminRegionName(String adminRegionName) {
        this.adminRegionName = adminRegionName;
    }
}
